//
//  HZJSecondViewController.swift
//  HZJNavigationView
//
//  Created by HZJ on 2017/2/20.
//  Copyright © 2017年 HZJ. All rights reserved.
//

import UIKit

class HZJSecondViewController: HZJBaseViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

        // Do any additional setup after loading the view.
        title = "HZJSecondViewController"
        myNavigationBar.backgroundColor = .random
        myNavigationBar.setBackgroundImage(UIImage(named: "1"),contentMode: nil)
        myNavigationBar.backgroundAlpha = 0.1
        myNavigationBar.myLeftBtn.setTitle("haha", for: .normal)
        myNavigationBar.myLeftBtn.sizeToFit()
    }

    override func clickTheBtn() {
        super.clickTheBtn()
        let v = HZJThreeTableViewController()
        self.navigationController?.pushViewController(v, animated: true)
    }
    
    
    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
}
